//
//  Order.h
//  命令模式
//
//  Created by flannery on 2018/12/19.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Stock.h"

@interface Order : NSObject
-(void)execute;
@end

@interface BuyStock : Order
-(instancetype)initWithStock:(Stock*)abcStock;
@end


@interface SellStock : Order
-(instancetype)initWithStock:(Stock*)abcStock;
@end
